import request from '@/utils/request'

export function getCustomList(data) {
    return request({
        url: '/custom/getCustomList',
        method: 'post',
        data
    })
}
export function setBlock(data) {
    return request({
        url: '/custom/block',
        method: 'post',
        data
    })
}

export function getAllChannel(data) {
    return request({
        url: '/channel/getAllChannel',
        method: 'post',
        data
    })
}
export function setChannel(data) {
    return request({
        url: '/custom/setChannel',
        method: 'post',
        data
    })
}

export function setCoupon(data) {
    return request({
        url: '/custom/setCoupon',
        method: 'post',
        data
    })
}

